﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BusinessLogic;

namespace Presentation.contenido
{
    public partial class prueba : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void btnGuardar_Click(object sender, EventArgs e)
        {
            Tecnico unS = new Tecnico();
            unS.NroFuncionario = long.Parse(txtNro.Text);
            unS.Nombre = txtNombre.Text;
            unS.Apellido = txtApellido.Text;
            unS.Mail = txtMail.Text;
            unS.Telefono = txtTel.Text;
            unS.Interno = txtInt.Text;
            unS.Seccion = txtSec.Text;
            unS.Contrasenia = txtCont.Text;
            unS.addTecnico();
        }
    }
}